package com.ruoyi.system.service.zhaungxiuservice.shopService;

import com.ruoyi.system.domain.zhuangxiumain.shopMain.ProductCategory;

import java.util.List;

public interface ProductCategoryService {



    //    查询一级分类
    public List<ProductCategory> findAllList(ProductCategory productCategory);
    //    添加一级分类
    public int insertCategory(ProductCategory productCategory);
    //    删除一级分类
    public int deleteCategoryByIds(Long[] categoryId);
    //禁用
    public int updataByOneId(ProductCategory productCategory);

//        <!--*************  以上是忘了干啥的了  ***************-->

//    TODO: 这是店铺中的 订单分类ID查询
    public List<ProductCategory> ProductCategoryList(ProductCategory productCategory);

//    <!--***************   TODO 以下是店铺中分类用的 *********************-->

    public ProductCategory selectProductCategoryById(Integer categoryId);

    public List<ProductCategory> selectProductCategoryList(Integer brandId);

    public int insertCommonCategory(ProductCategory productCategory);
    public int insertCommonHouse(ProductCategory productCategory);
    public List<ProductCategory> findAllCommenOne();
    public List<ProductCategory> findAllCommenOneZi(Integer parentId);
    public List<ProductCategory> CategoryListHouse(ProductCategory productCategory);
    public List<ProductCategory> findAllCommenTwo();
    public List<ProductCategory> findAllCommenTwoZi(Integer parentId);
    //    TODO: 以下查询 超管 商品分类
    public List<ProductCategory> supertfindAllListOne(ProductCategory productCategory);
    public List<ProductCategory> supertfindAllListOneZi(Integer parentId);


    public List<ProductCategory> supertfindAllListTwo(ProductCategory productCategory);
    public List<ProductCategory> supertfindAllListTwoZi(Integer parentId);



    public int updateCategorySuper(ProductCategory productCategory);

    public int deleteOneSuperByIds(Integer[] categoryId);

    public int insertProductCategory(ProductCategory productCategory);
    public int insertProductCategoryZi(ProductCategory productCategory);
}
